﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace Kokomo.Mirror.CliMetadata.Signatures
{
	public class MethodSpec : Signature
	{
		public MethodSpec()
		{
		}

		public TypeSpec[] genericArguments;

		public override bool Equals(object obj)
		{
			MethodSpec other = obj as MethodSpec;
			if (other == null) return false;

			bool equals =
				(this.genericArguments != null)
				&& (other.genericArguments != null)
				&& (this.genericArguments.SequenceEqual(other.genericArguments))
				;
			return equals;
		}
	}
}
